﻿using PLCS.Application.Contracts.ErrorLogApp.Dtos;

namespace PLCS.Application.Contracts.ErrorLogApp;

public interface IErrorLogAppService : ICrudAppService<ErrorLogDto, Guid, PagedResultRequestDto, ErrorLogEditDto>
{
    Task<List<ErrorLogDto>> GetUnDisposedErrorAsync();

    Task DiseposeErrorAsync(Guid Id, string reason, string solution);

    Task DiseposeAllErrorAsync();

    Task<PagedResultDto<ErrorLogDto>> GetListBySearchAsync(PagedResultRequestDto input, string? code, string? kind, string? source, string? startTime, string? endTime);
}